package com.it.base.common.exception;

import com.it.base.common.view.ResultCode;

/**
 * 自定义异常
 */
public class CommonException extends Exception {

	private static final long serialVersionUID = 1L;

	private ResultCode resultCode;

	public CommonException(ResultCode resultCode) {
		this.resultCode = resultCode;
	}

	public ResultCode getResultCode() {
		return resultCode;
	}

	public void setResultCode(ResultCode resultCode) {
		this.resultCode = resultCode;
	}
}
